const path = require('path');
const webPackMerge = require('webpack-merge');
const common = require('./webpack.common.js'); // 引入webpack.common.js

module.exports = webPackMerge.merge(common, {
    mode:"development",

    devServer: {
        contentBase:path.resolve(__dirname,'dist'),
        port:8081,
        inline:true,
        hot:true,
        historyApiFallback:true
    },
});